package com.example.teesystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.teesystem.common.utils.Response;
import com.example.teesystem.entity.WrongSet;
import com.example.teesystem.entity.vo.PageResponseVo;
import com.example.teesystem.entity.vo.dailyIssue.DailyIssueGetVo;
import com.example.teesystem.entity.vo.dailyIssue.DailyIssueSubVo;
import com.example.teesystem.entity.vo.wrongSet.WrongSetSelectVo;
import com.example.teesystem.entity.vo.wrongSet.WrongSetUpdateVo;
import com.example.teesystem.entityDto.WrongSetList;

/**
* @author NieYaShi
* @description 针对表【t_wrong_set】的数据库操作Service
* @createDate 2022-04-07 15:04:19
*/
public interface WrongSetService extends IService<WrongSet> {
    Response insertToWrongSet(Integer issueId);
    PageResponseVo<WrongSetList> getAllWrongSet(WrongSetSelectVo wrongSetSelectVo);
    Response updateWrongSet(WrongSetUpdateVo wrongSetUpdateVo);
    Response deleteWrongSet(Integer id);
    DailyIssueGetVo get(Integer id, Integer courseId);
    Boolean sub(DailyIssueSubVo subVo);
    Response getWrongSetByOtherMessage(Integer courseId);
    void updateWrongSet(Integer issueId);
}
